<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="UTF-8"%>
<html>
  <head>
    <title>输出页面</title>
	
  </head>
  
  <body>
  <% request.setCharacterEncoding("UTF-8"); %>
  <jsp:useBean id="t" class="Student.trapezoid"/>
  <jsp:setProperty property="top" name="t"/>
  <jsp:setProperty property="bottom" name="t"/>
  <jsp:setProperty property="high" name="t"/>
  <table style="margin: auto;">
        <tr>
            <td>周长</td>
            <td>面积</td>
            
        </tr>
        <tr>
            <td><jsp:getProperty name="t" property="around"/></td>
            <td><jsp:getProperty name="t" property="area"/></td>
        </tr>
    </table>
  </body>
</html>